package com.lvan.excelhandle.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Lvan
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultMsg<T> {

    private Integer code;
    private String message;
    private T data;

    public ResultMsg(Integer code, String message) {
        this(code, message, null);
    }
}
